﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;

namespace SearchEngine
{
    public class DatesTimesInSearch 
    {
        private DateTime dateFrom=DateTime.Now.Date;
        public DateTime DateFrom
        {
            get { return dateFrom; }
            set { dateFrom = value; }
        }
        
        private DateTime dateTo=DateTime.Now.Date;
        public DateTime DateTo
        {
            get { return dateTo; }
            set { dateTo = value; }
        }
        
        private DateTime timeFrom=DateTime.Now;
        public DateTime TimeFrom
        {
            get { return timeFrom; }
            set { timeFrom = value; }
        }
        
        private DateTime timeTo=DateTime.Now;
        public DateTime TimeTo
        {
            get { return timeTo; }
            set { timeTo = value; }
        }

        private string dateField = "";
        public string DateField
        {
            get { return dateField; }
            set { dateField = value; }
        }

        private string timeField = "";
        public string TimeField
        {
            get { return timeField; }
            set { timeField = value; }
        }

        private string dateTimeField = "";
        public string DateTimeField
        {
            get { return dateTimeField; }
            set { dateTimeField = value; }
        }
        
        private bool useDateInSearch;
        public bool UseDateInSearch
        {
            get { return useDateInSearch; }
            set { useDateInSearch = value; }
        }

        private bool useTimeInSearch;
        public bool UseTimeInSearch
        {
            get { return useTimeInSearch; }
            set { useTimeInSearch = value; }
        }

        private bool useBothDateAndTimeInSearch;
        public bool UseBothDateAndTimeInSearch
        {
            get { return useBothDateAndTimeInSearch; }
            set { useBothDateAndTimeInSearch = value; }
        }
    }
}
